﻿namespace ZenSystemService.Api.DTOs.Legency
{
    public class ZenBrightReportResponseDTO : HttpResponseDTO
    {
        public bool Status { get; set; }
        public string? Code { get; set; }
        public string? Message { get; set; }
        public ZenBrightReportResponseDataDTO Data { get; set; }
    }

    public class ZenBrightReportResponseDataDTO
    {
        public int Total { get; set; }
        public ICollection<ZenBrightReporRowDTO> Rows { get; set; }

    }
    public class ZenBrightReporRowDTO
    { 
        public string Code { get; set; }
        public int OrderStep { get; set; }
        public DateTime? OrderFinishDate { get; set; }
        public ICollection<ZenBrightReportRowLineDTO>? TestRecords { get; set; }
    }

    public class ZenBrightReportRowLineDTO
    {
        public int TestId { get; set; }
        public int Score { get; set; }
        public int CFDScore { get; set; }
        public string TestName { get; set; }
    }
}
